Ravi Vishwakarma is a dedicated Software Developer with a passion for crafting efficient and innovative solutions. With a keen eye for detail and years of experience, he excels in developing robust software systems that meet client needs. His expertise spans across multiple programming languages and technologies, making him a valuable asset in any software development project.
ICSM
08-Sep-2025Fibonacci Sequence
The Fibonacci sequence is a series of numbers where:
So the sequence looks like:
0, 1, 1, 2, 3, 5, 8, 13, ...Python Program (up to N terms)
Output for
terms = 10Explanation
a = 0,b = 1.ntimes.ato the sequence.a, b→ shift forward (abecomesb,bbecomesa+b).nterms.